/*
 * GoodsDetailInfoContract.java
 * business
 *
 * Created by SunDing on 2016/9/28.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.goodsdetail.value;

import com.yidiandao.business.base.BasePresenter;
import com.yidiandao.business.base.BaseView;
import com.yidiandao.business.data.response.GoodsDetailValueResponse;
import com.yidiandao.business.interfaces.LoadMoreListener;
import com.yidiandao.business.interfaces.RefreshLayoutStateListener;

import java.util.List;

/** 商品评价 */
public class GoodsDetailValueContract {

    interface Presenter extends BasePresenter {

        void loadMore(String goods_id, int type, boolean isRefresh);
    }

    interface View extends BaseView<Presenter>, RefreshLayoutStateListener, LoadMoreListener {

        void setGoodsList(List<GoodsDetailValueResponse.ValueBean> goodsList);

        void setTitleBarData(
                String allNum, String goodNum, String midNum, String worseNum, String picNum);
    }
}
